﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FlashUnityPlayer
{
  public partial class Unity : UserControl
  {
    public static AxHost.State axHost;

    public Unity(string url)
    { 
      InitializeComponent();
      axUnityWebPlayer1.src = url;
      axHost = axUnityWebPlayer1.OcxState;
    }

    public Unity()
    {
      InitializeComponent();
    }
  }
}
